using System;

namespace DataAccess
{
	public class EmailSettingInfo
	{
		#region Properties
		/// <summary>
		/// Gets or sets the EmailID value.
		/// </summary>
		private int emailID;
		public int EmailID
		{
			get { return this.emailID; }
			set { this.emailID = value; }
		}

		/// <summary>
		/// Gets or sets the SiteID value.
		/// </summary>
		private int siteID;
		public int SiteID
		{
			get { return this.siteID; }
			set { this.siteID = value; }
		}

		/// <summary>
		/// Gets or sets the EmailFrom value.
		/// </summary>
		private string emailFrom;
		public string EmailFrom
		{
			get { return this.emailFrom; }
			set { this.emailFrom = value; }
		}

		/// <summary>
		/// Gets or sets the SMTPUserName value.
		/// </summary>
		private string sMTPUserName;
		public string SMTPUserName
		{
			get { return this.sMTPUserName; }
			set { this.sMTPUserName = value; }
		}

		/// <summary>
		/// Gets or sets the SMTPPassword value.
		/// </summary>
		private string sMTPPassword;
		public string SMTPPassword
		{
			get { return this.sMTPPassword; }
			set { this.sMTPPassword = value; }
		}

		/// <summary>
		/// Gets or sets the SMTPServer value.
		/// </summary>
		private string sMTPServer;
		public string SMTPServer
		{
			get { return this.sMTPServer; }
			set { this.sMTPServer = value; }
		}

		/// <summary>
		/// Gets or sets the SMTPPort value.
		/// </summary>
		private int sMTPPort;
		public int SMTPPort
		{
			get { return this.sMTPPort; }
			set { this.sMTPPort = value; }
		}

		/// <summary>
		/// Gets or sets the SMTPSSL value.
		/// </summary>
		private bool sMTPSSL;
		public bool SMTPSSL
		{
			get { return this.sMTPSSL; }
			set { this.sMTPSSL = value; }
		}

		/// <summary>
		/// Gets or sets the EmailStatus value.
		/// </summary>
		private bool emailStatus;
		public bool EmailStatus
		{
			get { return this.emailStatus; }
			set { this.emailStatus = value; }
		}

		#endregion

		#region Constructors

		/// <summary>
		/// Initializes a new instance of the EmailSettingInfo class.
		/// </summary>
		public EmailSettingInfo()
		{
		}

		/// <summary>
		/// Initializes a new instance of the EmailSettingInfo class.
		/// </summary>
		public EmailSettingInfo(int siteID, string emailFrom, string sMTPUserName, string sMTPPassword, string sMTPServer, int sMTPPort, bool sMTPSSL, bool emailStatus)
		{
			this.SiteID = siteID;
			this.EmailFrom = emailFrom;
			this.SMTPUserName = sMTPUserName;
			this.SMTPPassword = sMTPPassword;
			this.SMTPServer = sMTPServer;
			this.SMTPPort = sMTPPort;
			this.SMTPSSL = sMTPSSL;
			this.EmailStatus = emailStatus;
		}

		/// <summary>
		/// Initializes a new instance of the EmailSettingInfo class.
		/// </summary>
		public EmailSettingInfo(int emailID, int siteID, string emailFrom, string sMTPUserName, string sMTPPassword, string sMTPServer, int sMTPPort, bool sMTPSSL, bool emailStatus)
		{
			this.EmailID = emailID;
			this.SiteID = siteID;
			this.EmailFrom = emailFrom;
			this.SMTPUserName = sMTPUserName;
			this.SMTPPassword = sMTPPassword;
			this.SMTPServer = sMTPServer;
			this.SMTPPort = sMTPPort;
			this.SMTPSSL = sMTPSSL;
			this.EmailStatus = emailStatus;
		}

		#endregion
	}
}
